
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>各种配置详解 · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="writing.html" />
    
    
    <link rel="prev" href="hello.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../开源组件实现.html">
            
                <a href="../开源组件实现.html">
            
                    
                    开源组件实现
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="../mvc/MVC框架实现篇.html">
            
                <a href="../mvc/MVC框架实现篇.html">
            
                    
                    MVC框架实现篇
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1.1" data-path="../mvc/">
            
                <a href="../mvc/">
            
                    
                    MVC框架实现篇
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.1.2" data-path="../mvc/1.plan.html">
            
                <a href="../mvc/1.plan.html">
            
                    
                    项目规划
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.1.3" data-path="../mvc/2.route.html">
            
                <a href="../mvc/2.route.html">
            
                    
                    路由设计
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.1.4" data-path="../mvc/3.controller.html">
            
                <a href="../mvc/3.controller.html">
            
                    
                    控制器设计
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.1.5" data-path="../mvc/4.config.html">
            
                <a href="../mvc/4.config.html">
            
                    
                    配置设计
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.1.6" data-path="../mvc/5.view.html">
            
                <a href="../mvc/5.view.html">
            
                    
                    视图设计
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.1.7" data-path="../mvc/6.dbutil.html">
            
                <a href="../mvc/6.dbutil.html">
            
                    
                    数据库操作
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.1.8" data-path="../mvc/7.crud.html">
            
                <a href="../mvc/7.crud.html">
            
                    
                    增删改查
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="../ioc/IOC容器实现篇.html">
            
                <a href="../ioc/IOC容器实现篇.html">
            
                    
                    IOC容器实现篇
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.2.1" data-path="../ioc/1.concept.html">
            
                <a href="../ioc/1.concept.html">
            
                    
                    IOC的概念
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2.2" data-path="../ioc/2.spring.html">
            
                <a href="../ioc/2.spring.html">
            
                    
                    Spring中怎么用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2.3" data-path="../ioc/3.myioc.html">
            
                <a href="../ioc/3.myioc.html">
            
                    
                    设计一个IOC
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2.4" data-path="../ioc/4.principle.html">
            
                <a href="../ioc/4.principle.html">
            
                    
                    原理分析
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../设计模式系列.html">
            
                <a href="../设计模式系列.html">
            
                    
                    设计模式系列
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="../designpatterns/singleton.html">
            
                <a href="../designpatterns/singleton.html">
            
                    
                    如何正确地写出单例模式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="../designpatterns/proxy.html">
            
                <a href="../designpatterns/proxy.html">
            
                    
                    代理模式剖析
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="../designpatterns/strategy.html">
            
                <a href="../designpatterns/strategy.html">
            
                    
                    什么是策略模式
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../Java8系列.html">
            
                <a href="../Java8系列.html">
            
                    
                    Java8系列
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="../java8/java8-guide.html">
            
                <a href="../java8/java8-guide.html">
            
                    
                    Java8简明教程
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="../java8/foreach.html">
            
                <a href="../java8/foreach.html">
            
                    
                    Java8 Foreach
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="../Hexo搭建博客.html">
            
                <a href="../Hexo搭建博客.html">
            
                    
                    Hexo搭建博客
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="hello.html">
            
                <a href="hello.html">
            
                    
                    分分钟部署一个Hexo环境
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.5.2" data-path="config.html">
            
                <a href="config.html">
            
                    
                    各种配置详解
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.3" data-path="writing.html">
            
                <a href="writing.html">
            
                    
                    开始写作吧
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="../开发者指南.html">
            
                <a href="../开发者指南.html">
            
                    
                    开发者指南
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="../git/guide.html">
            
                <a href="../git/guide.html">
            
                    
                    git - 简明指南
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2" >
            
                <a target="_blank" href="https://waylau.gitbooks.io/jersey-2-user-guide/content/index.html">
            
                    
                    Jersey-2.x用户指南
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.3" >
            
                <a target="_blank" href="https://waylau.gitbooks.io/rest-in-action/content/">
            
                    
                    REST 实战
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.4" >
            
                <a target="_blank" href="https://github.com/waylau/servlet-3.1-specification">
            
                    
                    Java Servlet 3.1 规范
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.5" >
            
                <a target="_blank" href="http://mybatis.github.io/mybatis-3/zh/index.html">
            
                    
                    MyBatis中文指南
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.6" >
            
                <a target="_blank" href="https://github.com/waylau/apache-shiro-1.2.x-reference">
            
                    
                    Apache Shiro 用户指南
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.7" >
            
                <a target="_blank" href="https://github.com/qibaoguang/Spring-Boot-Reference-Guide/blob/master/SUMMARY.md">
            
                    
                    Spring Boot参考指南
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.8" >
            
                <a target="_blank" href="https://github.com/waylau/netty-4-user-guide/blob/master/SUMMARY.md">
            
                    
                    Netty4 用户指南
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.9" data-path="../user_guide/google-java8-guide.html">
            
                <a href="../user_guide/google-java8-guide.html">
            
                    
                    Google Java编程风格指南
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="../运维相关.html">
            
                <a href="../运维相关.html">
            
                    
                    运维相关
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.7.1" data-path="../web/test_tool.html">
            
                <a href="../web/test_tool.html">
            
                    
                    Web性能测试工具
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.2" >
            
                <a target="_blank" href="https://github.com/judasn/Linux-Tutorial">
            
                    
                    Java 程序员眼中的 Linux
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.3" data-path="../learn_server/">
            
                <a href="../learn_server/">
            
                    
                    写给java开发的运维笔记
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="../经典文章.html">
            
                <a href="../经典文章.html">
            
                    
                    经典文章
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.8.1" data-path="../articles/request_message.html">
            
                <a href="../articles/request_message.html">
            
                    
                    HTTP请求报文解剖
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.2" data-path="../articles/software_architecture_patterns.html">
            
                <a href="../articles/software_architecture_patterns.html">
            
                    
                    软件架构模式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.3" data-path="../articles/electrical-business-architecture.html">
            
                <a href="../articles/electrical-business-architecture.html">
            
                    
                    电商网站架构案例
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.9" data-path="../服务器相关.html">
            
                <a href="../服务器相关.html">
            
                    
                    服务器/域名/SSL证书
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.9.1" >
            
                <a target="_blank" href="https://domainr.com">
            
                    
                    可用域名
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.2" >
            
                <a target="_blank" href="http://hk.hostsir.com/Affiliates/i/d/976">
            
                    
                    优惠域名
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.3" >
            
                <a target="_blank" href="http://www.vultr.com/?ref=6886447">
            
                    
                    vultr VPS
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.4" >
            
                <a target="_blank" href="https://sshdropbear.net/">
            
                    
                    免费VPN/SSH服务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.5" >
            
                <a target="_blank" href="http://get.ishadow.website/">
            
                    
                    免费SS
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.6" >
            
                <span>
            
                    
                    1小时免费VPN
            
                </span>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.7" >
            
                <a target="_blank" href="https://saki.ssl.do/aff.php?aff=11">
            
                    
                    SSL.DO
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.8" >
            
                <a target="_blank" href="http://api.hostinger.com.hk/redir/22018310">
            
                    
                    免费虚拟主机
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.10" data-path="../实用工具.html">
            
                <a href="../实用工具.html">
            
                    
                    实用工具/API
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.10.1" >
            
                <a target="_blank" href="https://tinypng.com/">
            
                    
                    PNG图片无损压缩
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.2" >
            
                <a target="_blank" href="http://tool.c7sky.com/image-watermark/">
            
                    
                    在线给图片加水印
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.3" >
            
                <a target="_blank" href="http://tool.c7sky.com/password/">
            
                    
                    随机密码生成
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.4" >
            
                <a target="_blank" href="https://randomuser.me/">
            
                    
                    随机头像生成
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.5" >
            
                <a target="_blank" href="http://tool.c7sky.com/tcleaner/">
            
                    
                    微博一键清理工具
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.6" >
            
                <a target="_blank" href="http://csscompressor.com/">
            
                    
                    CSS压缩
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.7" >
            
                <a target="_blank" href="http://www.atool.org/">
            
                    
                    在线工具
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >各种配置详解</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <p>&#x4E0A;&#x4E00;&#x8282;&#xFF1A;<a href="hello.html">&#x5206;&#x5206;&#x949F;&#x90E8;&#x7F72;&#x4E00;&#x4E2A;Hexo&#x73AF;&#x5883;</a></p>
<h1 id="&#x51C6;&#x5907;&#x542F;&#x7A0B;">&#x51C6;&#x5907;&#x542F;&#x7A0B;</h1>
<p>&#x4E00;&#x65E6;&#x5B89;&#x88C5;&#x4E86;Hexo,&#x8FD0;&#x884C;&#x4EE5;&#x4E0B;&#x547D;&#x4EE4;&#x521D;&#x59CB;&#x5316;Hexo&#x5728;<code>&#x76EE;&#x5F55;</code></p>
<pre><code class="lang-bash">$ hexo init &lt;folder&gt;
$ <span class="hljs-built_in">cd</span> &lt;folder&gt;
$ cnpm install
</code></pre>
<p>&#x4E00;&#x65E6;&#x521D;&#x59CB;&#x5316;&#xFF0C;&#x4F60;&#x7684;&#x9879;&#x76EE;&#x6587;&#x4EF6;&#x5939;&#x662F;&#x8FD9;&#x4E2A;&#x6837;&#x5B50;&#xFF1A;</p>
<pre><code class="lang-bash">.
&#x251C;&#x2500;&#x2500; _config.yml
&#x251C;&#x2500;&#x2500; package.json
&#x251C;&#x2500;&#x2500; scaffolds
&#x251C;&#x2500;&#x2500; scripts
&#x251C;&#x2500;&#x2500; <span class="hljs-built_in">source</span>
|   &#x251C;&#x2500;&#x2500; _drafts
|   &#x2514;&#x2500;&#x2500; _posts
&#x2514;&#x2500;&#x2500; themes
</code></pre>
<p>&#x4E0B;&#x9762;&#x4F9D;&#x6B21;&#x4ECB;&#x7ECD;&#x4E0A;&#x9762;&#x5404;&#x4E2A;&#x6587;&#x4EF6;&#x6216;&#x8005;&#x76EE;&#x5F55;&#x7684;&#x7528;&#x9014;&#xFF1A;</p>
<ul>
<li><code>_config.yml</code>&#x7AD9;&#x70B9;&#x914D;&#x7F6E;&#x6587;&#x4EF6;&#xFF0C;&#x5F88;&#x591A;&#x5168;&#x5C40;&#x914D;&#x7F6E;&#x90FD;&#x5728;&#x8FD9;&#x4E2A;&#x6587;&#x4EF6;&#x4E2D;&#x3002;</li>
<li><code>package.json</code> &#x5E94;&#x7528;&#x6570;&#x636E;&#x3002;&#x4ECE;&#x5B83;&#x53EF;&#x4EE5;&#x770B;&#x51FA;hexo&#x7248;&#x672C;&#x4FE1;&#x606F;&#xFF0C;&#x4EE5;&#x53CA;&#x5B83;&#x6240;&#x9ED8;&#x8BA4;&#x6216;&#x8005;&#x8BF4;&#x4F9D;&#x8D56;&#x7684;&#x4E00;&#x4E9B;&#x7EC4;&#x4EF6;&#x3002;</li>
<li><code>scaffolds</code> &#x6A21;&#x7248;&#x6587;&#x4EF6;&#x3002;&#x5F53;&#x4F60;&#x521B;&#x5EFA;&#x4E00;&#x7BC7;&#x65B0;&#x7684;&#x6587;&#x7AE0;&#x65F6;&#xFF0C;hexo&#x4F1A;&#x4F9D;&#x636E;&#x6A21;&#x7248;&#x6587;&#x4EF6;&#x8FDB;&#x884C;&#x521B;&#x5EFA;&#xFF0C;&#x4E3B;&#x8981;&#x7528;&#x5728;&#x4F60;&#x60F3;&#x5728;&#x6BCF;&#x7BC7;&#x6587;&#x7AE0;&#x90FD;&#x6DFB;&#x52A0;&#x4E00;&#x4E9B;&#x5171;&#x6027;&#x7684;&#x5185;&#x5BB9;&#x7684;&#x60C5;&#x51B5;&#x4E0B;&#x3002;</li>
<li><code>scripts</code> &#x653E;&#x811A;&#x672C;&#x7684;&#x6587;&#x4EF6;&#x5939;&#xFF0C; &#x5C31;&#x662F;&#x653E;js&#x6587;&#x4EF6;&#x7684;&#x5730;&#x65B9;</li>
<li><code>source</code> &#x8FD9;&#x4E2A;&#x6587;&#x4EF6;&#x5939;&#x5C31;&#x662F;&#x653E;&#x6587;&#x7AE0;&#x7684;&#x5730;&#x65B9;&#x4E86;&#xFF0C;&#x9664;&#x4E86;&#x6587;&#x7AE0;&#x8FD8;&#x6709;&#x4E00;&#x4E9B;&#x4E3B;&#x8981;&#x7684;&#x8D44;&#x6E90;&#xFF0C;&#x6BD4;&#x5982;&#x6587;&#x7AE0;&#x91CC;&#x7684;&#x56FE;&#x7247;&#xFF0C;&#x6587;&#x4EF6;&#x7B49;&#x7B49;&#x4E1C;&#x897F;&#x3002;&#x8FD9;&#x4E2A;&#x6587;&#x4EF6;&#x5939;&#x6700;&#x597D;&#x5B9A;&#x671F;&#x505A;&#x4E00;&#x4E2A;&#x5907;&#x4EFD;&#xFF0C;&#x4E22;&#x4E86;&#x5B83;&#xFF0C;&#x6574;&#x4E2A;&#x7AD9;&#x70B9;&#x5C31;&#x5E9F;&#x4E86;&#x3002;</li>
<li><code>themes</code> &#x4E3B;&#x9898;&#x6587;&#x4EF6;&#x5939;&#x3002;</li>
</ul>
<h2 id="&#x914D;&#x7F6E;">&#x914D;&#x7F6E;</h2>
<h3 id="configyml&#x914D;&#x7F6E;&#x6587;&#x4EF6;">_config.yml&#x914D;&#x7F6E;&#x6587;&#x4EF6;</h3>
<p>&#x7AD9;&#x70B9;&#x914D;&#x7F6E;&#x6587;&#x4EF6;&#xFF0C;&#x4F60;&#x53EF;&#x4EE5;&#x5728;&#x8FD9;&#x91CC;&#x8FDB;&#x884C;&#x5927;&#x591A;&#x6570;&#x914D;&#x7F6E;&#x3002;</p>
<h3 id="&#x7F51;&#x7AD9;&#x8BBE;&#x7F6E;">&#x7F51;&#x7AD9;&#x8BBE;&#x7F6E;</h3>
<table>
<thead>
<tr>
<th>&#x914D;&#x7F6E;</th>
<th>&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td>title</td>
<td>&#x7AD9;&#x70B9;&#x540D;&#x5B57;&#xFF0C;&#x4E5F;&#x5C31;&#x662F;html&#x7684;title&#xFF0C;&#x4F1A;&#x663E;&#x793A;&#x5728;&#x6D4F;&#x89C8;&#x5668;&#x6807;&#x7B7E;&#x4E0A;</td>
</tr>
<tr>
<td>subtitle</td>
<td>&#x7AD9;&#x70B9;&#x526F;&#x6807;&#x9898;&#xFF0C;&#x4F1A;&#x663E;&#x793A;&#x5728;&#x9996;&#x9875;&#x4E0A;&#xFF0C;&#x53EF;&#x4EE5;&#x4E0D;&#x586B;</td>
</tr>
<tr>
<td>description</td>
<td>&#x7AD9;&#x70B9;&#x63CF;&#x8FF0;&#xFF0C;&#x53EF;&#x4EE5;&#x4E0D;&#x586B;</td>
</tr>
<tr>
<td>author</td>
<td>&#x4F5C;&#x8005;&#x540D;&#x79F0;</td>
</tr>
<tr>
<td>language</td>
<td>&#x8BED;&#x8A00;</td>
</tr>
<tr>
<td>timezone</td>
<td>&#x7AD9;&#x70B9;&#x65F6;&#x533A;&#xFF0C;&#x9ED8;&#x8BA4;&#x662F;&#x7535;&#x8111;&#x65F6;&#x95F4;</td>
</tr>
</tbody>
</table>
<h3 id="&#x94FE;&#x63A5;&#x8BBE;&#x7F6E;">&#x94FE;&#x63A5;&#x8BBE;&#x7F6E;</h3>
<table>
<thead>
<tr>
<th>&#x914D;&#x7F6E;</th>
<th>&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td>url</td>
<td>&#x7AD9;&#x70B9;&#x7F51;&#x5740;</td>
</tr>
<tr>
<td>root</td>
<td>&#x7AD9;&#x70B9;&#x6839;&#x76EE;&#x5F55;</td>
</tr>
<tr>
<td>permalink</td>
<td>&#x6587;&#x7AE0;&#x7684;&#x6C38;&#x4E45;&#x7F51;&#x5740;&#x94FE;&#x63A5;&#xFF0C;&#x9ED8;&#x8BA4;&#x662F;<code>:year/:month/:day/:title/</code>&#xFF0C;&#x6307;&#x7684;&#x4EC0;&#x4E48;&#x610F;&#x601D;&#xFF1F;&#x6BD4;&#x5982;&#x6211;&#x4E00;&#x7BC7;&#x53EB;&#x300E;love&#x300F;&#x7684;&#x6587;&#x7AE0;&#x662F;&#x5728;2012&#x5E74;1&#x6708;1&#x65E5;&#x5199;&#x7684;&#xFF0C;&#x90A3;&#x4E48;&#x5B83;&#x5BF9;&#x5E94;&#x7684;&#x94FE;&#x63A5;&#x5C31;&#x662F;<code>http://yoururl/2012/01/01/love/</code></td>
</tr>
<tr>
<td>permalink_default</td>
</tr>
</tbody>
</table>
<blockquote>
<p>&#x5982;&#x679C;&#x7F51;&#x5740;&#x662F;&#x6B21;&#x7EA7;&#x76EE;&#x5F55;&#xFF0C;&#x6BD4;&#x5982;&#xFF1A;<code>http://example.com/blog</code>&#xFF0C;&#x90A3;&#x4E48;&#x5C31;&#x8981;&#x8BBE;&#x7F6E;url&#x4E3A;<code>http://example.com/blog</code>&#xFF0C;&#x5E76;&#x4E14;root&#x8981;&#x8BBE;&#x7F6E;&#x4E3A;<code>/blog/</code>&#x3002;</p>
</blockquote>
<h3 id="&#x76EE;&#x5F55;&#x8BBE;&#x7F6E;">&#x76EE;&#x5F55;&#x8BBE;&#x7F6E;</h3>
<table>
<thead>
<tr>
<th>&#x914D;&#x7F6E;</th>
<th>&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td>source_dir</td>
<td>source&#x76EE;&#x5F55;&#xFF0C;&#x9ED8;&#x8BA4;&#x503C;&#x4E3A;source</td>
</tr>
<tr>
<td>public_dir</td>
<td>public&#x76EE;&#x5F55;&#xFF0C;&#x9759;&#x6001;&#x7F51;&#x7AD9;&#x751F;&#x6210;&#x7684;&#x5730;&#x65B9;&#xFF0C;&#x9ED8;&#x8BA4;&#x503C;&#x4E3A;public</td>
</tr>
<tr>
<td>tag_dir</td>
<td>tag&#x76EE;&#x5F55;</td>
</tr>
<tr>
<td>archive_dir</td>
<td>Archive&#x76EE;&#x5F55;</td>
</tr>
<tr>
<td>category_dir</td>
<td>&#x5206;&#x7C7B;&#x76EE;&#x5F55;</td>
</tr>
<tr>
<td>code_dir</td>
<td>&#x4EE3;&#x7801;&#x76EE;&#x5F55;</td>
</tr>
<tr>
<td>i18n_dir</td>
<td>i18n&#x76EE;&#x5F55;</td>
</tr>
<tr>
<td>skip_render</td>
<td>&#x4E0D;&#x60F3;&#x88AB;&#x6E32;&#x67D3;&#x7684;&#x8DEF;&#x5F84;</td>
</tr>
</tbody>
</table>
<h3 id="&#x5199;&#x4F5C;&#x8BBE;&#x7F6E;">&#x5199;&#x4F5C;&#x8BBE;&#x7F6E;</h3>
<table>
<thead>
<tr>
<th>&#x914D;&#x7F6E;</th>
<th>&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td>new_post_name</td>
<td>&#x65B0;&#x5EFA;&#x6587;&#x7AE0;&#x9ED8;&#x8BA4;&#x6587;&#x4EF6;&#x540D;&#xFF0C;&#x9ED8;&#x8BA4;&#x503C;&#x4E3A; :title.md&#xFF0C;&#x6BD4;&#x5982;&#x4F60;&#x6267;&#x884C;&#x547D;&#x4EE4;hexo new hello&#xFF0C;&#x5C31;&#x4F1A;&#x9ED8;&#x8BA4;&#x5728;_post&#x76EE;&#x5F55;&#x4E0B;&#x521B;&#x5EFA;&#x4E00;&#x4E2A;hello.md&#x7684;&#x6587;&#x4EF6;</td>
</tr>
<tr>
<td>default_layout</td>
<td>&#x9ED8;&#x8BA4;&#x5E03;&#x5C40;</td>
</tr>
<tr>
<td>titlecase</td>
<td></td>
</tr>
<tr>
<td>external_link</td>
<td>&#x5728;&#x65B0;&#x6807;&#x7B7E;&#x4E2D;&#x6253;&#x5F00;&#x4E00;&#x4E2A;&#x5916;&#x90E8;&#x94FE;&#x63A5;&#xFF0C;&#x9ED8;&#x8BA4;&#x4E3A;true</td>
</tr>
<tr>
<td>filename_case</td>
<td>&#x8F6C;&#x6362;&#x6587;&#x4EF6;&#x540D;&#xFF0C;1&#x4EE3;&#x8868;&#x5C0F;&#x5199;&#xFF1B;2&#x4EE3;&#x8868;&#x5927;&#x5199;&#xFF1B;&#x9ED8;&#x8BA4;&#x4E3A;0&#xFF0C;&#x610F;&#x601D;&#x5C31;&#x662F;&#x521B;&#x5EFA;&#x6587;&#x7AE0;&#x7684;&#x65F6;&#x5019;&#xFF0C;&#x662F;&#x5426;&#x81EA;&#x52A8;&#x5E2E;&#x4F60;&#x8F6C;&#x6362;&#x6587;&#x4EF6;&#x540D;&#xFF0C;&#x9ED8;&#x8BA4;&#x5C31;&#x884C;&#xFF0C;&#x610F;&#x4E49;&#x4E0D;&#x5927;</td>
</tr>
<tr>
<td>render_drafts</td>
<td>&#x662F;&#x5426;&#x6E32;&#x67D3;_drafts&#x76EE;&#x5F55;&#x4E0B;&#x7684;&#x6587;&#x7AE0;&#xFF0C;&#x9ED8;&#x8BA4;&#x4E3A;false</td>
</tr>
<tr>
<td>post_asset_folder</td>
<td>&#x662F;&#x5426;&#x542F;&#x7528;Asset Folder&#xFF0C;&#x9ED8;&#x8BA4;&#x4E3A;false&#xFF0C;&#x81F3;&#x4E8E;&#x4EC0;&#x4E48;&#x662F;Asset Folder&#xFF0C;&#x540E;&#x9762;&#x6709;&#x8BB2;&#x89E3;</td>
</tr>
<tr>
<td>relative_link</td>
<td>&#x4F7F;&#x94FE;&#x63A5;&#x76F8;&#x5BF9;&#x4E8E;&#x6839;&#x6587;&#x4EF6;&#x5939;&#xFF0C;&#x9ED8;&#x8BA4;false</td>
</tr>
<tr>
<td>future</td>
<td>&#x662F;&#x5426;&#x663E;&#x793A;&#x672A;&#x6765;&#x65E5;&#x671F;&#x6587;&#x7AE0;&#xFF0C;&#x9ED8;&#x8BA4;&#x4E3A;true</td>
</tr>
<tr>
<td>highlight</td>
<td>&#x4EE3;&#x7801;&#x5757;&#x8BBE;&#x7F6E;</td>
</tr>
</tbody>
</table>
<h3 id="&#x5206;&#x7C7B;--&#x6807;&#x7B7E;">&#x5206;&#x7C7B; &amp; &#x6807;&#x7B7E;</h3>
<table>
<thead>
<tr>
<th>&#x914D;&#x7F6E;</th>
<th>&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td>default_category</td>
<td>&#x9ED8;&#x8BA4;&#x5206;&#x7C7B;&#xFF0C;&#x9ED8;&#x8BA4;&#x4E3A;&#x65E0;&#x5206;&#x7C7B;&#xFF0C;&#x5F53;&#x7136;&#x4F60;&#x53EF;&#x4EE5;&#x8BBE;&#x7F6E;&#x4E00;&#x4E2A;&#x9ED8;&#x8BA4;&#x5206;&#x7C7B;&#x3002;</td>
</tr>
<tr>
<td>category_map</td>
<td>&#x5206;&#x7C7B;&#x7F29;&#x7565;&#x540D;</td>
</tr>
<tr>
<td>tag_map</td>
<td>&#x6807;&#x7B7E;&#x7F29;&#x7565;&#x540D;</td>
</tr>
</tbody>
</table>
<h3 id="&#x65E5;&#x671F;&#x683C;&#x5F0F;&#x5316;">&#x65E5;&#x671F;&#x683C;&#x5F0F;&#x5316;</h3>
<p>Hexo&#x4F7F;&#x7528;&#x7684;<a href="http://momentjs.com/" target="_blank">Moment.js</a>&#x6765;&#x5904;&#x7406;&#x65F6;&#x95F4;&#x7684;&#x3002;
| &#x914D;&#x7F6E;         | &#x63CF;&#x8FF0;|
| ----------- |---------------------------------------------|
| date_format       |&#x65E5;&#x671F;&#x683C;&#x5F0F;&#xFF0C;&#x9ED8;&#x8BA4;&#x4E3A;MMM D YYYY&#xFF0C;&#x4E00;&#x822C;&#x6211;&#x4EEC;&#x559C;&#x6B22;&#x4F7F;&#x7528;YYYY-MM-DD&#x7684;&#x683C;&#x5F0F;&#xFF0C;&#x5176;&#x4ED6;&#x683C;&#x5F0F;&#x6A21;&#x7248;&#x53EF;&#x4EE5;&#x67E5;&#x770B;<a href="http://momentjs.com/" target="_blank">Moment.js</a>|
| time_format    |&#x65F6;&#x95F4;&#x683C;&#x5F0F;&#xFF0C;&#x9ED8;&#x8BA4;&#x4E3A;H:mm:ss|</p>
<h3 id="&#x5206;&#x9875;">&#x5206;&#x9875;</h3>
<table>
<thead>
<tr>
<th>&#x914D;&#x7F6E;</th>
<th>&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td>per_page</td>
<td>&#x4E00;&#x9875;&#x663E;&#x793A;&#x591A;&#x5C11;&#x7BC7;&#x6587;&#x7AE0;&#xFF0C;0 &#x4E3A;&#x4E0D;&#x5206;&#x9875;&#xFF0C;&#x9ED8;&#x8BA4;&#x503C;&#x4E3A; 10</td>
</tr>
<tr>
<td>pagination_dir</td>
<td>&#x5206;&#x9875;&#x76EE;&#x5F55;&#xFF0C;&#x9ED8;&#x8BA4;&#x503C;&#x4E3A;page</td>
</tr>
</tbody>
</table>
<h3 id="&#x6269;&#x5C55;">&#x6269;&#x5C55;</h3>
<table>
<thead>
<tr>
<th>&#x914D;&#x7F6E;</th>
<th>&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td>theme</td>
<td>&#x4E3B;&#x9898;&#x914D;&#x7F6E;&#xFF0C;&#x6B64;&#x5904;&#x586B;&#x4E0A;&#x4E3B;&#x9898;&#x540D;&#x5C31;OK&#x4E86;&#xFF0C;&#x5F53;&#x7136;&#x5728;themes&#x76EE;&#x5F55;&#x4E0B;&#x4E00;&#x5B9A;&#x8981;&#x6709;&#x4F60;&#x914D;&#x7F6E;&#x7684;&#x4E3B;&#x9898;&#x6587;&#x4EF6;&#x5939;</td>
</tr>
<tr>
<td>deploy</td>
<td>&#x90E8;&#x7F72;&#x914D;&#x7F6E;&#xFF0C;&#x5C06;&#x672C;&#x5730;public&#x76EE;&#x5F55;&#x4E5F;&#x5C31;&#x662F;&#x7F51;&#x7AD9;&#x90E8;&#x7F72;&#x5230;&#x670D;&#x52A1;&#x5668;&#x4E0A;&#x7684;&#x914D;&#x7F6E;</td>
</tr>
</tbody>
</table>
<h3 id="packagejson&#x6587;&#x4EF6;">package.json&#x6587;&#x4EF6;</h3>
<p>&#x5E94;&#x7528;&#x6570;&#x636E;&#xFF0C;&#x9ED8;&#x8BA4;&#x5B89;&#x88C5;&#x4E86; <code>EJS</code>&#xFF0C;<code>Stylus</code> &#x548C; <code>Markdown</code> &#x6765;&#x6E32;&#x67D3;&#x3002;&#x5982;&#x679C;&#x4F60;&#x4E0D;&#x9700;&#x8981;&#x53EF;&#x4EE5;&#x5378;&#x8F7D;&#x5B83;&#x4EEC;&#x3002;</p>
<pre><code class="lang-json">package.json
{
  <span class="hljs-string">&quot;name&quot;</span>: <span class="hljs-string">&quot;hexo-site&quot;</span>,
  <span class="hljs-string">&quot;version&quot;</span>: <span class="hljs-string">&quot;0.0.0&quot;</span>,
  <span class="hljs-string">&quot;private&quot;</span>: <span class="hljs-literal">true</span>,
  <span class="hljs-string">&quot;hexo&quot;</span>: {
    <span class="hljs-string">&quot;version&quot;</span>: <span class="hljs-string">&quot;&quot;</span>
  },
  <span class="hljs-string">&quot;dependencies&quot;</span>: {
    <span class="hljs-string">&quot;hexo&quot;</span>: <span class="hljs-string">&quot;^3.0.0&quot;</span>,
    <span class="hljs-string">&quot;hexo-generator-archive&quot;</span>: <span class="hljs-string">&quot;^0.1.0&quot;</span>,
    <span class="hljs-string">&quot;hexo-generator-category&quot;</span>: <span class="hljs-string">&quot;^0.1.0&quot;</span>,
    <span class="hljs-string">&quot;hexo-generator-index&quot;</span>: <span class="hljs-string">&quot;^0.1.0&quot;</span>,
    <span class="hljs-string">&quot;hexo-generator-tag&quot;</span>: <span class="hljs-string">&quot;^0.1.0&quot;</span>,
    <span class="hljs-string">&quot;hexo-renderer-ejs&quot;</span>: <span class="hljs-string">&quot;^0.1.0&quot;</span>,
    <span class="hljs-string">&quot;hexo-renderer-stylus&quot;</span>: <span class="hljs-string">&quot;^0.2.0&quot;</span>,
    <span class="hljs-string">&quot;hexo-renderer-marked&quot;</span>: <span class="hljs-string">&quot;^0.2.4&quot;</span>,
    <span class="hljs-string">&quot;hexo-server&quot;</span>: <span class="hljs-string">&quot;^0.1.2&quot;</span>
  }
}
</code></pre>
<h3 id="scaffolds">scaffolds</h3>
<p>&#x811A;&#x624B;&#x67B6;&#x6587;&#x4EF6;&#x5939;&#x3002;&#x5F53;&#x4F60;&#x521B;&#x5EFA;&#x4E00;&#x4E2A;&#x65B0;&#x6587;&#x7AE0;,Hexo&#x57FA;&#x4E8E;<code>scaffolds</code>&#x6587;&#x4EF6;&#x5939;&#x91CC;&#x7684;&#x7C7B;&#x578B;&#x6765;&#x521B;&#x5EFA;&#x3002;</p>
<h3 id="scripts">scripts</h3>
<p>&#x811A;&#x672C;&#x6587;&#x4EF6;&#x5939;&#x3002;&#x6269;&#x5C55;Hexo&#x6700;&#x7B80;&#x5355;&#x7684;&#x65B9;&#x6CD5;&#xFF0C;&#x5B83;&#x4F1A;&#x81EA;&#x52A8;&#x6267;&#x884C;&#x8FD9;&#x4E2A;&#x6587;&#x4EF6;&#x5939;&#x4E0B;&#x7684;JavaScript&#x6587;&#x4EF6;&#x3002;</p>
<h2 id="&#x547D;&#x4EE4;">&#x547D;&#x4EE4;</h2>
<h3 id="init">init</h3>
<pre><code class="lang-bash">$ hexo init [folder]
</code></pre>
<p>&#x521D;&#x59CB;&#x5316;&#x4E00;&#x4E2A;&#x7F51;&#x7AD9;&#x3002;&#x5982;&#x679C;&#x6CA1;&#x6709;&#x63D0;&#x4F9B;<code>folder</code>,Hexo&#x4F1A;&#x5728;&#x5F53;&#x524D;&#x76EE;&#x5F55;&#x8BBE;&#x7F6E;&#x7F51;&#x7AD9;&#x3002;</p>
<h3 id="new">new</h3>
<pre><code class="lang-bash">$ hexo new [layout] &lt;title&gt;
</code></pre>
<p>&#x521B;&#x5EFA;&#x4E00;&#x7BC7;&#x6587;&#x7AE0;&#xFF0C;&#x5982;&#x679C;&#x4E0D;&#x6307;&#x5B9A;layout&#xFF0C;&#x90A3;&#x4E48;&#x5C31;&#x4F7F;&#x7528;<code>_config.yml</code>&#x4E2D;<code>default_layout</code>&#x7684;&#x503C;&#xFF0C;&#x6807;&#x9898;&#x4E2D;&#x5982;&#x679C;&#x6709;&#x7A7A;&#x683C;&#xFF0C;&#x5C06;&#x6574;&#x4E2A;<code>title</code>&#x653E;&#x5230;&#x5F15;&#x53F7;&#x4E2D;&#x3002;
&#x6BD4;&#x5982;&#xFF0C;<code>hexo new &quot;hello world&quot;</code>&#x521B;&#x5EFA;&#x4E00;&#x7BC7;&#x53EB;hello world&#x7684;&#x6587;&#x7AE0;&#x3002;</p>
<h3 id="generate">generate</h3>
<pre><code class="lang-bash">$ hexo generate
</code></pre>
<p>&#x751F;&#x6210;&#x9759;&#x6001;&#x6587;&#x4EF6;&#xFF1A;</p>
<table>
<thead>
<tr>
<th>&#x9009;&#x9879;</th>
<th>&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>-d</code>, <code>--deploy</code></td>
<td>&#x751F;&#x6210;&#x5B8C;&#x540E;&#x76F4;&#x63A5;&#x90E8;&#x7F72;</td>
</tr>
<tr>
<td><code>-w</code>, <code>--watch</code></td>
<td>&#x76D1;&#x63A7;&#x6587;&#x4EF6;&#x7684;&#x6539;&#x53D8;</td>
</tr>
</tbody>
</table>
<h3 id="publish">publish</h3>
<pre><code class="lang-bash">$ hexo publish [layout] &lt;filename&gt;
</code></pre>
<p>&#x53D1;&#x5E03;&#x4E3A;&#x8349;&#x7A3F;</p>
<h3 id="server">server</h3>
<pre><code class="lang-bash">$ hexo server
</code></pre>
<p>&#x542F;&#x52A8;&#x4E00;&#x4E2A;&#x672C;&#x5730;&#x670D;&#x52A1;&#xFF0C;&#x9ED8;&#x8BA4;&#x60C5;&#x51B5;&#x4E0B;&#x8BBF;&#x95EE; <code>http://localhost:4000/</code></p>
<table>
<thead>
<tr>
<th>&#x9009;&#x9879;</th>
<th>&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>-p</code>, <code>--port</code></td>
<td>&#x6307;&#x5B9A;&#x7AEF;&#x53E3;</td>
</tr>
<tr>
<td><code>-s</code>, <code>--static</code></td>
<td>&#x4EC5;&#x670D;&#x52A1;&#x9759;&#x6001;&#x6587;&#x4EF6;</td>
</tr>
<tr>
<td><code>-l</code>, <code>--log</code></td>
<td>&#x5F00;&#x542F;&#x65E5;&#x5FD7;</td>
</tr>
</tbody>
</table>
<h3 id="deploy">deploy</h3>
<pre><code class="lang-bash">$ hexo deploy
</code></pre>
<p>&#x90E8;&#x7F72;&#x4F60;&#x7684;&#x7AD9;&#x70B9;</p>
<table>
<thead>
<tr>
<th>&#x9009;&#x9879;</th>
<th>&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>-g</code>, <code>--generate</code></td>
<td>&#x8868;&#x793A;&#x5728;&#x90E8;&#x7F72;&#x524D;&#x5148;&#x91CD;&#x65B0;&#x751F;&#x6210;&#x4E00;&#x4E0B;&#x7AD9;&#x70B9;</td>
</tr>
</tbody>
</table>
<h3 id="render">render</h3>
<pre><code class="lang-bash">$ hexo render &lt;file1&gt; [file2] ...
</code></pre>
<p>&#x6E32;&#x67D3;&#x6587;&#x4EF6;</p>
<table>
<thead>
<tr>
<th>&#x9009;&#x9879;</th>
<th>&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>-o</code>, <code>--output</code></td>
<td>&#x8F93;&#x51FA;&#x5230;&#x6307;&#x5B9A;&#x6587;&#x4EF6;&#xFF0C;&#x6211;&#x6CA1;&#x7528;&#x8FC7;</td>
</tr>
</tbody>
</table>
<h3 id="migrate">migrate</h3>
<pre><code class="lang-bash">$ hexo migrate &lt;<span class="hljs-built_in">type</span>&gt;
</code></pre>
<p><a href="https://hexo.io/docs/migration.html" target="_blank">&#x8FC1;&#x79FB;</a>&#x5230;&#x5176;&#x4ED6;&#x6A21;&#x5757;&#x7684;&#x547D;&#x4EE4;&#x3002;</p>
<h3 id="clean">clean</h3>
<pre><code class="lang-bash">$ hexo clean
</code></pre>
<p>&#x5220;&#x9664;&#x7F13;&#x5B58;&#x6587;&#x4EF6;<code>db.json</code>&#x4EE5;&#x53CA;&#x751F;&#x6210;&#x7684;public&#x76EE;&#x5F55;&#xFF0C;&#x5F53;&#x4F60;&#x4FEE;&#x6539;&#x4E86;&#x67D0;&#x4E9B;&#x6837;&#x5F0F;&#x6216;&#x8005;&#x914D;&#x7F6E;&#x65F6;&#xFF0C;&#x5982;&#x679C;&#x53D1;&#x73B0;<code>hexo g</code>&#x540E;&#x4E5F;&#x6CA1;&#x6709;&#x53CD;&#x5E94;&#xFF0C;&#x5C31;&#x53EF;&#x4EE5;&#x6267;&#x884C;&#x4E00;&#x4E0B;&#x8FD9;&#x4E2A;&#x547D;&#x4EE4;&#x3002;</p>
<h3 id="list">list</h3>
<pre><code class="lang-bash">$ hexo list &lt;<span class="hljs-built_in">type</span>&gt;
</code></pre>
<p>&#x5217;&#x51FA;&#x6240;&#x6709;&#x8DEF;&#x7531;</p>
<h3 id="version">version</h3>
<pre><code class="lang-bash">$ hexo version
</code></pre>
<p>&#x663E;&#x793A;hexo&#x7684;&#x7248;&#x672C;&#x4FE1;&#x606F;&#x5230;&#x63A7;&#x5236;&#x53F0;</p>
<h2 id="options">Options</h2>
<h3 id="safe-mode">Safe mode</h3>
<pre><code class="lang-bash">$ hexo --safe
</code></pre>
<p>&#x5B89;&#x5168;&#x6A21;&#x5F0F;&#xFF0C;&#x4F7F;&#x6240;&#x6709;&#x63D2;&#x4EF6;&#x548C;&#x811A;&#x672C;&#x4E0D;&#x751F;&#x6548;</p>
<h3 id="debug-mode">Debug mode</h3>
<pre><code class="lang-bash">$ hexo --debug
</code></pre>
<p>&#x65E5;&#x5FD7;&#x8BE6;&#x7EC6;&#x4FE1;&#x606F;&#x8F93;&#x51FA;&#x5230;&#x7EC8;&#x7AEF;&#x3002;</p>
<h3 id="silent-mode">Silent mode</h3>
<pre><code class="lang-bash">$ hexo --silent
</code></pre>
<p>&#x9759;&#x9ED8;&#x6A21;&#x5F0F;&#xFF0C;&#x4E0D;&#x5728;&#x7EC8;&#x7AEF;&#x4E0A;&#x663E;&#x793A;&#x4EFB;&#x4F55;&#x4FE1;&#x606F;</p>
<h3 id="customize-config-file-path">Customize config file path</h3>
<pre><code class="lang-bash">$ hexo --config custom.yml
</code></pre>
<p>&#x4F7F;&#x7528;&#x4E00;&#x4E2A;&#x81EA;&#x5B9A;&#x4E49;&#x914D;&#x7F6E;&#x6587;&#x4EF6;&#x66FF;&#x6362;&#x9ED8;&#x8BA4;<code>_config.yml</code></p>
<h3 id="display-drafts">Display drafts</h3>
<pre><code class="lang-bash">$ hexo --draft
</code></pre>
<p>&#x663E;&#x793A;&#x8349;&#x7A3F;&#x6587;&#x7AE0;&#xFF08;&#x4F4D;&#x4E8E;<code>source/_drafts</code>&#x76EE;&#x5F55;&#x4E0B;&#xFF09;</p>
<h3 id="customize-cwd">Customize CWD</h3>
<pre><code class="lang-bash">$ hexo --cwd /path/to/cwd
</code></pre>
<p>&#x81EA;&#x5B9A;&#x4E49;&#x5F53;&#x524D;&#x5DE5;&#x4F5C;&#x76EE;&#x5F55;&#x8DEF;&#x5F84;&#xFF0C;&#x5047;&#x5982;&#x4F60;&#x6CA1;&#x5728;&#x5DE5;&#x4F5C;&#x76EE;&#x5F55;&#x4E0B;&#xFF0C;&#x53EF;&#x4EE5;&#x4F7F;&#x7528;&#x8FD9;&#x4E2A;&#x547D;&#x4EE4;&#x6307;&#x5B9A;&#x4E00;&#x4E0B;&#x5DE5;&#x4F5C;&#x76EE;&#x5F55;&#x8DEF;&#x5F84;</p>
<p>&#x4E0B;&#x4E00;&#x8282;&#xFF1A;<a href="writing.html">&#x5F00;&#x59CB;&#x5199;&#x4F5C;&#x5427;</a></p>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="hello.html" class="navigation navigation-prev " aria-label="Previous page: 分分钟部署一个Hexo环境">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="writing.html" class="navigation navigation-next " aria-label="Next page: 开始写作吧">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"各种配置详解","level":"1.5.2","depth":2,"next":{"title":"开始写作吧","level":"1.5.3","depth":2,"path":"hexo/writing.md","ref":"hexo/writing.md","articles":[]},"previous":{"title":"分分钟部署一个Hexo环境","level":"1.5.1","depth":2,"path":"hexo/hello.md","ref":"hexo/hello.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["livereload"],"pluginsConfig":{"livereload":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"hexo/config.md","mtime":"2017-09-01T15:31:07.000Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2017-09-01T16:57:38.335Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

